<!DOCTYPE html>
<html lang="en">
	<head>
			<meta charset="UTF-8">
			<meta name="viewport" content="width=device-width, initial-scale=1">
			<link href="css/style.css" rel="stylesheet">
		<title>html5新增的布局元素</title>
		{% load static%}
        <link rel="stylesheet" type="text/css" href="{% static 'css/7css.css' %}"/>
        <script>
        function guangzu(empno){
			// 设置更新博客查询的url请求地址
			url = "/login/emp/nn/" + empno;
			window.location = url;
		}
        function ck(empno){
			// 设置更新博客查询的url请求地址
			url = "/login/emp/ck/" + empno;
			window.location = url;
		}
    </script>
	</head>

	<body bgcolor="mediumblue"  background="{% static 'image/t01d61356d326bd0f99.jpg' %}">
        <!----头部-->
        <form  method="POST" id="updategettFrom" name="updategettFrom"  action="/login/abcdef/"  >
        {% csrf_token %}
        {% include "html2.html" %}
        <div id="container" style="height:500px;border: 1px solid gray;margin-top: 5px" >
                {% for item in abd %}
                <section>     
                    <article>
                        
                        博主昵称：<h3  style="display:inline;">{{item.nickname}}</h3>
                        <button type="button" id="btnDelete" class="btnsubmit" style="background-color:rgb(39, 195, 223);" onclick="javascript:ck({{ item.pno }});">取消关注</button>
                        <button type="button" id="btnDelete" class="btnsubmit" style="background-color:rgb(39, 195, 223);" onclick="javascript:guangzu({{ item.bb }});">查看</button>
                    </article>
                </section>
                <!--侧边栏-->
                {% endfor %}
            </form>
        </div>
            {% include "yewb.html" %}
            </body>        

</html>